package org.eclipse.risk.rcp;

import org.eclipse.rwt.lifecycle.IEntryPoint;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.application.WorkbenchAdvisor;

public class EntryPoint implements IEntryPoint {

	@Override
	public int createUI() {
		Display display = PlatformUI.createDisplay();
		WorkbenchAdvisor worbenchAdvisor = new ApplicationWorkbenchAdvisor();
		return PlatformUI.createAndRunWorkbench( display, worbenchAdvisor );
	}

}
